/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package course;

/**
 *
 */


 // Program has Course klass som hanterar tabellen Program_has_Course i mySQL
// och som är koppling mellan tabellerna program och occation

class Program_has_Course {
   private String appCode;
   private String code;
    private int educationYear;

    public Program_has_Course() {
    }

    public Program_has_Course(String appCode, String code, int educationYear) {

        setAppCode(appCode);
        setCode(code);
setEducationYear(educationYear);
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode (){
        return code;
    }
    public void setEducationYear(int educationYear){
        this.educationYear = educationYear;
    }
    public int getEducationYear(){
        return educationYear;
    }
    }

